Skip to content

Comments

Enable unit testing for ALD#30

Merged
maul-esel merged 261 commits intomasterfrom
testing
Apr 17, 2013
Merged

Enable unit testing for ALD#30
maul-esel merged 261 commits intomasterfrom
testing

Conversation

@maul-esel
Copy link
Member

This PR enables unit testing for ALD. It will enable testing using travis-ci.org and add unit tests for the internal classes and the external API.

maul.esel added 30 commits September 3, 2012 22:51
Catch ALL exceptions and enwrap them
By default, a release is based on the latest created release
(the version number is based on it). Now the base can be spe-
cified to be all releases (default) or the latest published
release.
New class to handle stdlib releases in one central place.
Use new StdlibRelease class to simplify code for release
description and creation.
Do not declare update types statically - use UpdateType::getCode().
maul.esel added 27 commits March 25, 2013 12:30
Pass the DB connection to the constructor. Split up into further
methods. For filters of type 'switch', allow a set of conditions
to be met. Validate comparison parameters. Add a new 'expr' type
and some structuring comments.

Use the modified FilterHelper class to re-implement the last pa-
rameter of the Suspension class. Adjust the filter code for can-
didate listing.
Implement the last candidate filter with FilterHelper.
Adjust all calls as necessary.
A coerce callback must be specified.
WARNING: This changes the outdated behaviour that the 'user'
filter took user names instead of IDs.
The old MySQL extension is deprecated and causes warnings in newer
PHP versions. Thus, switch to the new recommended mysqli extension.
Switch from MySQL to mysqli
This reverts commit 1d690a9 as it breaks
the Suspension::isSuspended() method.
Pull recent bug fixes to make tests run fine.
Once again pull fixes to make the tests pass.
@maul-esel maul-esel merged commit d36efe6 into master Apr 17, 2013
@maul-esel maul-esel deleted the testing branch April 17, 2013 15:20
@maul-esel
Copy link
Member Author

Merged this though not complete, will add more tests step-by-step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant